package keeper.event;

import javax.servlet.http.HttpServlet;

/**
 * 
 * @author hliang@126.com
 *
 */
public class Event {
	private String eventName;
	private HttpServlet servlet;
	private EventListener listener;
	private boolean isProcess;
	public Event(String eventName,HttpServlet servlet) {
		this.eventName = eventName;
		this.servlet = servlet;
		isProcess = false;
		this.listener  = null;
	}
	public String getEventName() {
		return eventName;
	}
	public void setEventName(String eventName) {
		this.eventName = eventName;
	}
	public HttpServlet getServlet() {
		return servlet;
	}
	public void setServlet(HttpServlet servlet) {
		this.servlet = servlet;
	}
	public EventListener getListener() {
		return listener;
	}
	public void setListener(EventListener listener) {
		this.listener = listener;
	}
	public boolean isProcess() {
		return isProcess;
	}
	public void setProcess(boolean isProcess) {
		this.isProcess = isProcess;
	}
	
	
}
